import { IFeidaoAiNodejsComponent } from '@feidao-factory/atom-nodejs/interfaces';
import javadsd from '@feidao-factory/atom-nodejs/msg/javadsd';

import { systemid, refsystemid } from '../../atom-web/config';

export default async function na008(fd: IFeidaoAiNodejsComponent, ...args: any[]) {
	try {
		const ret = await javadsd(fd.data.actionid, fd.data.sessionid, fd.data.spaceid, systemid, refsystemid, 'by_jxcdsd0000019', {
			param: {

			}
		});
		return {
			flag: '调用javadsd服务参数错误',
			msg: JSON.stringify(ret)
		};
	} catch (err) {
		return {
			flag: '调用javadsd服务参数错误',
			msg: (err as Error).toString()
		};
	}
}
